package com.example.mercury.entity;

/**
 * @author 盛守义
 * @createTime 2021/11/26 21:18
 * @projectName TurningCoffee
 * @className Game.java
 * @description TODO
 */
public class Game {
    private Boolean success;
    private Integer code;
    private String message;
    private DataDTO data;

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public static class DataDTO {
        private TreeDTO tree;

        public TreeDTO getTree() {
            return tree;
        }

        public void setTree(TreeDTO tree) {
            this.tree = tree;
        }

        public static class TreeDTO {
            private Integer id;
            private String userId;
            private String treeName;
            private Integer treeStatus;
            private Integer userWater;
            private Integer treeWater;
            private Object createTime;
            private String updateTime;
            private Boolean deleted;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public String getTreeName() {
                return treeName;
            }

            public void setTreeName(String treeName) {
                this.treeName = treeName;
            }

            public Integer getTreeStatus() {
                return treeStatus;
            }

            public void setTreeStatus(Integer treeStatus) {
                this.treeStatus = treeStatus;
            }

            public Integer getUserWater() {
                return userWater;
            }

            public void setUserWater(Integer userWater) {
                this.userWater = userWater;
            }

            public Integer getTreeWater() {
                return treeWater;
            }

            public void setTreeWater(Integer treeWater) {
                this.treeWater = treeWater;
            }

            public Object getCreateTime() {
                return createTime;
            }

            public void setCreateTime(Object createTime) {
                this.createTime = createTime;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public Boolean getDeleted() {
                return deleted;
            }

            public void setDeleted(Boolean deleted) {
                this.deleted = deleted;
            }
        }
    }
}
